package com.myProject.serves;

import com.github.pagehelper.PageInfo;
import com.myProject.bean.TDisease;

import java.util.List;

public interface DiseaseSev {
    /**
     * 获取列表
     *
     * @param tDisease
     * @return java.util.List<com.myProject.bean.TDisease>
     * @author liuyulai
     * @date 21.4.29 10:46
     */
    List<TDisease> getDiseaseList(TDisease tDisease);

    /**
     * 展示分页
     *
     * @param pageNo
     * @param pageSize
     * @param tDisease
     * @return
     */
    PageInfo<TDisease> showDiseaseByPage(int pageNo, int pageSize, TDisease tDisease);

    /**
     * @param tDisease
     * @return int
     * @author liuyulai
     * @date 21.4.29 10:47
     */
    int addDisease(TDisease tDisease);
}
